home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1157 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. From: Ulrich Kuehn <kuehn@GOEDEL.UNI-MUENSTER.DE>
  2. Subject: Suggestions 
  3. Date: Mon, 07 Mar 1994 12:11:53 +0100
  4.  
  5. Hi everybody!
  6.  
  7. While we now have a write cache with the minix fs, there is a potential
  8. danger with it: when someone presses alt-cntrl-del before the update
  9. daemon has synced the fs, there is hight probability of file damage.
  10. To prevent this, I thought of a mechanism that is invoked on alt-cntrl-del
  11. and asks the user if he/she really wants to reboot, send signals to all
  12. processes first etc. That way this problem would be non existing anymore.
  13.  
  14. A second point: I would really like the mint kernel to know about its
  15. name before the filesystems and device drivers get loaded. This is for the
  16. unix style authentification for nfs, the hostname stuff for tcp/ip etc.
  17. So what about the following: the kernel reads the file \etc\hostname
  18. and stores the contents (or only the first word of it) in a global variable,
  19. which can be accessed by a new system call long Shostname(char *s, int len),
  20. which returns 0 if the hostname fits into the string s which has lenght len,
  21. or ERANGE otherwise. If you like this idea, I could implement it and send
  22. the diffs out here.
  23.  
  24. Regards,
  25. Ulrich
  26.  
  27. --
  28. +---------------+----------------------------+-----------------------+
  29. | Ulrich Kuehn  | Internet:                  | Life is uncertain --  |
  30. | Cand.Math.Inf | kuehn@math.uni-muenster.de | eat the dessert first |
  31. +---------------+----------------------------+-----------------------+
  32.